
package com.dews.information.convert;

import com.dews.information.domain.dto.SubjectCourseDTO;
import com.dews.information.domain.entity.SubjectCourse;
import com.dews.information.domain.vo.SubjectCourseVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * DEWS 学科课程转换
 *
 * @author 易学蔚来科技工作室-清风学Java
 * @date 2024-12-08
 */
@Mapper
public interface SubjectCourseConvert {

    SubjectCourseConvert INSTANCE = Mappers.getMapper(SubjectCourseConvert.class);

    SubjectCourse convert(SubjectCourseVo bean);
    SubjectCourse convert(SubjectCourseDTO dto);
    SubjectCourseVo convert(SubjectCourse domain);
    List<SubjectCourseVo> convert(List<SubjectCourse> domains);
}
